{config_load file="$language/lang.conf" section="checkout_new_address"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td><strong>{#title_new_address#}</strong> </td>
    <td class="inputRequirement" align="right">{#text_must#}</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  {if $gender=='1'} 
  <tr> 
    <td colspan="2" style="border-top: 1px solid; border-color: #cccccc;">{#text_new_address#}<br /><br /></td>
  </tr>
  <tr> 
    <td><label for="gender" title="{$ENTRY_GENDER_ERROR}">{#text_gender#}</label></td>
    <td>
		<table cellspacing="0" cellpadding="0">
			<tr>
			  	<td> {$INPUT_MALE}</td>
			  	<td> {$INPUT_FEMALE}</td>				
  			</tr>
		</table>
	</td>
  </tr>
  {/if} 
  <tr> 
    <td ><label for="firstname" title="{$ENTRY_FIRST_NAME_ERROR}">{#text_firstname#}</label></td>
    <td class="inputRequirement" align="left">{$INPUT_FIRSTNAME}</td>
  </tr>
{if $secondname=='1'}
  <tr> 
    <td>{#text_secondname#}</td>
    <td class="inputRequirement" >{$INPUT_SECONDNAME}</td>
  </tr>
  {/if}
  <tr> 
    <td><label for="lastname" title="{$ENTRY_LAST_NAME_ERROR}">{#text_lastname#}</label></td>
    <td class="inputRequirement" align="left">{$INPUT_LASTNAME}</td>
  </tr>
  {if $company=='1'} 
  <tr> 
    <td>&nbsp;</td>
    <td align="left"></td>
  </tr>
  <tr> 
    <td>{#text_company#}</td>
    <td class="inputRequirement" align="left">{$INPUT_COMPANY}</td>
  </tr>
  {/if} 
  {if $street_address=='1'} 
  <tr> 
    <td>&nbsp;</td>
    <td align="left"></td>
  </tr>
  <tr> 
    <td ><label for="address" title="{$ENTRY_STREET_ADDRESS_ERROR}">{#text_street#}</label></td>
    <td class="inputRequirement" align="left">{$INPUT_STREET}</td>
  </tr>
  {/if} 
  {if $suburb=='1'} 
  <tr> 
    <td>{#text_suburb#}</td>
    <td class="inputRequirement" align="left">{$INPUT_SUBURB}</td>
  </tr>
  {/if} 
  {if $postcode=='1'} 
  <tr> 
    <td><label for="postcode" title="{$ENTRY_POST_CODE_ERROR}">{#text_code#}</label></td>
    <td class="inputRequirement" align="left">{$INPUT_CODE}</td>
  </tr>
  {/if} 
  {if $city=='1'} 
  <tr> 
    <td><label for="city" title="{$ENTRY_CITY_ERROR}">{#text_city#}</label></td>
    <td class="inputRequirement" align="left">{$INPUT_CITY}</td>
  </tr>
  {/if} 
  {if $country=='1'}
  <tr>
    <td><label for="country" title="{$ENTRY_COUNTRY_ERROR}">{#text_country#}</label></td>
    <td class="inputRequirement">{$SELECT_COUNTRY}{$SELECT_COUNTRY_NOSCRIPT}</td>
  </tr>
  {/if}
  {if $state=='1'}
  <tr> 
    <td><label for="state" title="{$ENTRY_STATE_ERROR_SELECT}">{#text_state#}</label></td>
    <td class="inputRequirement"><span id="stateXML">{$INPUT_STATE}</span></td>
  </tr>
  {/if}
  {if $new=='1'} 
  <tr> 
    <td>&nbsp;</td>
    <td align="left">{$CHECKBOX_PRIMARY} {#text_standard#}</td>
  </tr>
  {/if} 
</table>